﻿#ifndef MANPLUGIN_H
#define MANPLUGIN_H

#include <QObject>

class DaoClouds;
class Version;

/// @brief 管理代码插件
///     管理的插件有:
///         版本信息 DAO
///         日志器
///         对象存储 DAO
class ManPlugin: public QObject
{
    Q_OBJECT

private:
    DaoClouds *m_clouds;
    Version *m_version;

public:
    explicit ManPlugin(QObject *parent = nullptr);
    ~ManPlugin();

    DaoClouds *clouds() const;
    void installPlugins(int argc, char *argv[]);
};

#endif // MANPLUGIN_H
